﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using NHibernate.Validator.Constraints;

namespace Domain.Model.Abstract
{
    public abstract class ProjectItemStatus : Entity
    {
        #region Status Types

        public static string STATUS_RED       = "statusRed";
        public static string STATUS_ORANGE    = "statusOrange";
        public static string STATUS_GREEN     = "statusGreen";

        #endregion

        #region Properties

        private string statusIndicator;
        [NotNull]
        public virtual string StatusIndicator 
        {
            get 
            {
                return statusIndicator;
            }
            
            set 
            {
                statusIndicator = value;
            }
        }

        #endregion

        #region Constructor

        public ProjectItemStatus()
        {
            StatusIndicator = STATUS_RED;
        }

        #endregion
    }
}